home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1998 #2 / Amiga Plus CD - 1998 - No. 2.iso / pd / musik / eagleplayer2.00 / developer / include / misc / eagleplayerformatloader.i < prev    next >
Text File  |  1997-08-26  |  2KB  |  85 lines

  1. **
  2. **  $Filename: misc/EaglePlayerFormatLoader.i
  3. **  $Release: 2.00 $
  4. **  $Revision: 1$
  5. **  $Date: 24/02/97$
  6. **
  7. ** Definitions and Macros for creating EaglePlayer Formatloadermodules
  8. **
  9. **    (C) Copyright 1993-97 by DEFECT
  10. **        All Rights Reserved
  11. **
  12. **
  13.  
  14.     IFND    EAGLEPLAYERFORMATLOADER_I
  15. EAGLEPLAYERFORMATLOADER_I    SET    1
  16.  
  17.  
  18.     IFND EXEC_PORTS_I
  19.         INCLUDE "exec/ports.i"
  20.     ENDC
  21.  
  22.     IFND EXEC_TYPES_I
  23.         INCLUDE "exec/types.i"
  24.     ENDC
  25.  
  26.     IFND UTILITY_TAGITEM_I
  27.         INCLUDE "utility/tagitem.i"
  28.     ENDC
  29.  
  30.  
  31. FORMATLOADERVERSION EQU    1        ;Current Version of Formatloader
  32.  
  33.  
  34. *---------------------------- Formatloadertags -------------------------------*
  35. FL_TagBase    EQU    TAG_USER+"FL"
  36.  
  37.  
  38.     ENUM    FL_TagBase        ;EaglePlayer-TagBase
  39.  
  40.     EITEM    FL_Formatname
  41.     EITEM    FL_Playername        ;player to be used
  42.     EITEM    FL_Version        ;Version of external Formatloader
  43.     EITEM    FL_EagleBase
  44.     EITEM    FL_RequestFormatLoader    ;Requested Version of Formatloadermain
  45.     EITEM    FL_Creator
  46.     EITEM    FL_Flags
  47.     EITEM    FL_SampleType
  48.     EITEM    FL_DefFreqPtr
  49.     EITEM    FL_NumChannells
  50.     EITEM    FL_Memtype
  51.  
  52.     ;end of formatloaderdefinition
  53.  
  54.  
  55.  
  56. *- Flags -*
  57.     BITDEF    FL,FrequencyVariable,0
  58.     BITDEF    FL,Interleaved,1
  59.     BITDEF    FL,MiSoundsystem,2    ;MI_Soundsystem=real Name of Format
  60.  
  61.  
  62.  
  63. *- Sampletypes -*
  64. FLST_8BitRAW        EQU    1
  65. FLST_8BitUnsignedRaw    EQU    2
  66. FLST_16BitRAW        EQU    3
  67. FLST_16BitUnsignedRAW    EQU    4
  68. FLST_16BitIntel        EQU    5
  69. FLST_16BitIntelUnsigned    EQU    6
  70.  
  71.  
  72.  
  73. *-------------------------------- Formatheader -------------------------------*
  74. FORMATHEADER MACRO
  75.     moveq    #-1,d0                ; this should return an error
  76.     rts                    ; in case someone tried to
  77.                         ; run it
  78.     dc.l    \1                ; Ptr to Taglist
  79.     dc.b    "EP_FORMATMODULE",0        ; identifier
  80.     ENDM
  81.  
  82.  
  83.     ENDC    ; EAGLEPLAYERFORMATLOADER_I
  84.  
  85.